package com.zhs.gccs.model;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * 数据附件对象 gccs_task_file
 *
 * @author ruoyi
 * @date 2024-07-18
 */
@Table(name = "gccs_task_data_file")
public class GccsTaskFile implements Serializable
{
    private static final long serialVersionUID = 1L;
    private boolean isDefault = false;

    @Column(name = "localId",isId = true,autoGen = false)
    private String localId;//本地id

    @Column(name = "localUrl")
    private String localUrl;//本地地址
    @Column(name = "videoThumbLocalUrl")
    private String  videoThumbLocalUrl;//视频缩略图
    @Column(name = "isSync")
    private boolean isSync = false;//是否同步到服务器
    @Column(name = "isDeleted")
    private boolean isDeleted = false;//是否删除
    @Column(name = "url")
    private String url;//
    /** 编码 */
    @Column(name = "id")
    private String id;//服务器上文件id

    /** 第三方关联ID */
    @Column(name = "dataId")
    private String dataId;

    /** 任务id */
    @Column(name = "taskId")
    private String taskId;

    /** 项目编码 */
    @Column(name = "pid")
    private String pid;

    /** 工程措施父类型（yzb_gccs_dict dbid） */
    @Column(name = "gccsPType")
    private String gccsPType;

    /** 工程措施类型（yzb_gccs_dict dbid） */
    @Column(name = "gccsType")
    private String gccsType;

    /** 用户账号 */
    @Column(name = "userExec")
    private String userExec;

    /** 文件类型  */
    @Column(name = "fileType")
    private String fileType;////0 照片 1 音频  2 视频

    /** 文件访问地址 */
    @Column(name = "filePath")
    private String filePath;

    /** 文件名 */
    @Column(name = "fileName")
    private String fileName;

    /** 文件唯一名称 */
    @Column(name = "uniqueName")
    private String uniqueName;

    /** 项目标识  */
    @Column(name = "bucket")
    private String bucket;

    /** 存储路径 */
    @Column(name = "objectName")
    private String objectName;

    /** 删除标识 */
    @Column(name = "deleteFlag")
    private String deleteFlag;

    /** 文件大小 */
    @Column(name = "fileSize")
    private Long fileSize;

    /** 角度描述 */
    @Column(name = "angle")
    private String angle;

    /** 角度 */
    @Column(name = "angleDeg")
    private String angleDeg;

    /** $column.columnComment */
    @Column(name = "degree")
    private String degree;

    /** $column.columnComment */
    @Column(name = "lat")
    private String lat;

    /** $column.columnComment */
    @Column(name = "lon")
    private String lon;

    /** $column.columnComment */
    @Column(name = "address")
    private String address;

    /** 拍照时间 */
    @Column(name = "fileDate")
    private String fileDate;

    /** 视频缩略图 */
    @Column(name = "thumb")
    private String thumb;

    @Column(name = "thumbJson")
    private String thumbJson;

    /** $column.columnComment */
    @Column(name = "duration")
    private Long duration;

    @Column(name = "fileExt")
    private String fileExt;


    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean deleted) {
        isDeleted = deleted;
    }

    public boolean isDefault() {
        return isDefault;
    }

    public void setDefault(boolean aDefault) {
        isDefault = aDefault;
    }

    public String getThumbJson() {
        return thumbJson;
    }

    public void setThumbJson(String thumbJson) {
        this.thumbJson = thumbJson;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getVideoThumbLocalUrl() {
        return videoThumbLocalUrl;
    }

    public void setVideoThumbLocalUrl(String videoThumbLocalUrl) {
        this.videoThumbLocalUrl = videoThumbLocalUrl;
    }

    public String getLocalId() {
        return localId;
    }

    public void setLocalId(String localId) {
        this.localId = localId;
    }

    public String getLocalUrl() {
        return localUrl;
    }

    public void setLocalUrl(String localUrl) {
        this.localUrl = localUrl;
    }

    public boolean isSync() {
        return isSync;
    }

    public void setSync(boolean sync) {
        isSync = sync;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setDataId(String dataId)
    {
        this.dataId = dataId;
    }

    public String getDataId()
    {
        return dataId;
    }
    public void setTaskId(String taskId)
    {
        this.taskId = taskId;
    }

    public String getTaskId()
    {
        return taskId;
    }
    public void setPid(String pid)
    {
        this.pid = pid;
    }

    public String getPid()
    {
        return pid;
    }
    public void setGccsPType(String gccsPType)
    {
        this.gccsPType = gccsPType;
    }

    public String getGccsPType()
    {
        return gccsPType;
    }
    public void setGccsType(String gccsType)
    {
        this.gccsType = gccsType;
    }

    public String getGccsType()
    {
        return gccsType;
    }
    public void setUserExec(String userExec)
    {
        this.userExec = userExec;
    }

    public String getUserExec()
    {
        return userExec;
    }
    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }
    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }

    public String getFilePath()
    {
        return filePath;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setUniqueName(String uniqueName)
    {
        this.uniqueName = uniqueName;
    }

    public String getUniqueName()
    {
        return uniqueName;
    }
    public void setBucket(String bucket)
    {
        this.bucket = bucket;
    }

    public String getBucket()
    {
        return bucket;
    }
    public void setObjectName(String objectName)
    {
        this.objectName = objectName;
    }

    public String getObjectName()
    {
        return objectName;
    }
    public void setDeleteFlag(String deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag()
    {
        return deleteFlag;
    }
    public void setFileSize(Long fileSize)
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize()
    {
        return fileSize;
    }
    public void setAngle(String angle)
    {
        this.angle = angle;
    }

    public String getAngle()
    {
        return angle;
    }
    public void setAngleDeg(String angleDeg)
    {
        this.angleDeg = angleDeg;
    }

    public String getAngleDeg()
    {
        return angleDeg;
    }
    public void setDegree(String degree)
    {
        this.degree = degree;
    }

    public String getDegree()
    {
        return degree;
    }
    public void setLat(String lat)
    {
        this.lat = lat;
    }

    public String getLat()
    {
        return lat;
    }
    public void setLon(String lon)
    {
        this.lon = lon;
    }

    public String getLon()
    {
        return lon;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setFileDate(String fileDate)
    {
        this.fileDate = fileDate;
    }

    public String getFileDate()
    {
        return fileDate;
    }
    public void setThumb(String thumb)
    {
        this.thumb = thumb;
    }

    public String getThumb()
    {
        return thumb;
    }
    public void setDuration(Long duration)
    {
        this.duration = duration;
    }

    public Long getDuration()
    {
        return duration;
    }

    @Override
    public String toString() {
        return "GccsTaskFile{" +
                "localId='" + localId + '\'' +
                ", localUrl='" + localUrl + '\'' +
                ", videoThumbLocalUrl='" + videoThumbLocalUrl + '\'' +
                ", isSync=" + isSync +
                ", url='" + url + '\'' +
                ", id='" + id + '\'' +
                ", dataId='" + dataId + '\'' +
                ", taskId='" + taskId + '\'' +
                ", pid='" + pid + '\'' +
                ", gccsPType='" + gccsPType + '\'' +
                ", gccsType='" + gccsType + '\'' +
                ", userExec='" + userExec + '\'' +
                ", fileType='" + fileType + '\'' +
                ", filePath='" + filePath + '\'' +
                ", fileName='" + fileName + '\'' +
                ", uniqueName='" + uniqueName + '\'' +
                ", bucket='" + bucket + '\'' +
                ", objectName='" + objectName + '\'' +
                ", deleteFlag='" + deleteFlag + '\'' +
                ", fileSize=" + fileSize +
                ", angle='" + angle + '\'' +
                ", angleDeg='" + angleDeg + '\'' +
                ", degree='" + degree + '\'' +
                ", lat='" + lat + '\'' +
                ", lon='" + lon + '\'' +
                ", address='" + address + '\'' +
                ", fileDate='" + fileDate + '\'' +
                ", thumb='" + thumb + '\'' +
                ", thumbJson='" + thumbJson + '\'' +
                ", duration=" + duration +
                ", fileExt='" + fileExt + '\'' +
                '}';
    }
}
